<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>物理实验目录</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            overflow: hidden;
        }
        .header {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
            padding: 25px;
            text-align: center;
        }
        .header h1 {
            font-size: 2em;
            margin-bottom: 5px;
        }
        .content {
            padding: 30px;
        }
        .btn {
            display: block;
            width: 100%;
            padding: 15px;
            margin: 10px 0;
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            text-decoration: none;
            border-radius: 8px;
            text-align: center;
            font-size: 1.1em;
            border: none;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        .btn-singruler {
            background: linear-gradient(135deg, #9b59b6, #8e44ad);
        }
        .btn-back {
            background: linear-gradient(135deg, #95a5a6, #7f8c8d);
            margin-top: 20px;
        }
        .experiment-desc {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
            border-left: 4px solid #3498db;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>📚 物理实验目录</h1>
        </div>
        
        <div class="content">
            <div class="experiment-desc">
                <h3>🎵 Sing Ruler实验</h3>
                <p>模拟钢尺在桌面边缘的振动现象，观察振动频率与物理参数的关系。</p>
            </div>
            
            <button class="btn btn-singruler" onclick="window.location.href='singruler.html'">
                🎵 运行 Sing Ruler 实验
            </button>
            
            <button class="btn" onclick="alert('实验2开发中...')">
                2️⃣ 实验2 (开发中)
            </button>
            
            <button class="btn" onclick="alert('实验3开发中...')">
                3️⃣ 实验3 (开发中)
            </button>
            
            <button class="btn btn-back" onclick="window.location.href='index.html'">
                ↩️ 返回主页面
            </button>
        </div>
    </div>
</body>
</html>